#ifndef DATA_TRANSFER_H
#define DATA_TRANSFER_H

#include <QDateTime>
#include <QImage>
#include <QDataStream>

struct Transfer
{
    QDateTime timestamp;
    QImage img;
    qint32 R;

    Transfer() {}

    Transfer(const QDateTime& timestamp, const QImage& img, const qint32& R)
        : timestamp(timestamp), img(img), R(R) {}
};

QDataStream &operator<<(QDataStream &, const Transfer &);
QDataStream &operator>>(QDataStream &, Transfer &);

#endif // DATA_TRANSFER_H
